A digital clock time (12 hour format not 24 hour format) and an AM or PM indication

It also shows a leading zero in the minutes and seconds if their values are under 10

This version overcomes the problem where if the start button is pressed multiple times the stop button won't work